package li.kaeppe.travel.tracker.parser;

import java.io.IOException;
import java.io.InputStream;
import java.util.Collection;
import java.util.Date;

import org.springframework.oxm.XmlMappingException;

import li.kaeppe.travel.tracker.domain.WayPoint;

public interface WayPointParser {

	public Collection<WayPoint> parse(InputStream in) throws ParseException, XmlMappingException, IOException, NoTimeStampException;
	
	public Collection<WayPoint> parse(InputStream in, Date startTime) throws ParseException, XmlMappingException, IOException, NoTimeStampException;
	
}
